package com.atguigu.cloud.entities;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;

/**
 * 表名：t_pay
 * 表注释：支付交易表
 */
@Data
@Schema(title = "支付交易表实体类")
public class PayDTO {
    @Schema(title = "主键")
    private Integer id;

    /**
     * 支付流水号
     */

    @Schema(title = "支付流水号")
    private String payNo;

    /**
     * 订单流水号
     */

    @Schema(title = "订单流水号")
    private String orderNo;

    /**
     * 用户账号ID
     */

    @Schema(title = "用户账号ID")
    private Integer userId;

    /**
     * 交易金额
     */
    @Schema(title = "交易金额")
    private BigDecimal amount;

}